package com.example.service;

import com.example.entity.Goods;
import com.example.mapper.GoodsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GoodService {
    @Autowired
    private GoodsMapper goodsMapper;
    public Goods find(Integer id){
        return goodsMapper.find(id);
    }
}
